package com.yuandian.api.business_monitor.vo;

import lombok.Data;

/**
 * 说明：首页大屏-系统请求量趋势vo对象
 * @Author lishilei
 * @Date 2023/5/08 16:04
 */
@Data
public class RequestTrendVo {

    /**
     * 系统id
     */
    private Integer systemId;

    /**
     * 系统名称
     */
    private String systemName;

    /**
     * 标签时间
     */
    private String labelTime;

    /**
     * 请求量
     */
    private Integer reqCount = 0;

    /**
     * 告警量
     */
    private Integer alarmCount = 0;

    /**
     * 失败访问量
     */
    private Integer failVisitCount = 0;



	/**
	 * 字节数
	 */
	private long totalBytes;


	@Override
	public boolean equals(Object o) {
		if (this == o) return true;
		if (o == null || getClass() != o.getClass()) return false;

		RequestTrendVo that = (RequestTrendVo) o;

		return labelTime.equals(that.labelTime);
	}

	@Override
	public int hashCode() {
		return labelTime.hashCode();
	}
}
